package com.service;

import com.pattern.spring.Person;
import org.springframework.beans.factory.annotation.Lookup;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Description:
 * @Author: whp
 * @Date: 2021-02-05 13:49
 */
@Configuration
public class DemoService {

    @Lookup
    @Bean()
    public Person getBean(){
        return null;
    }
}
